package com.hzsai.controller;

import com.hzsai.utils.ResponseMsg;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * hzsai 2019/12/21
 * usage:
 **/
@Api(tags = "国际化语言配置项")
@RestController
public class InternationalController {

    @ApiOperation(value = "获取语言参数")
    @GetMapping("/languages/")
    public ResponseMsg getLang(@RequestParam("lang") String lang) {
        return ResponseMsg.success();
    }
}
